﻿using EntityFramework.Entity.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YouTravel.DomainModels
{
    /// <summary>
    /// 收票团
    /// </summary>
    public class CollectInvoiceGroup : EntityBase
    {
        /// <summary>
        /// 收票ID
        /// </summary>
        public int CollectInvoiceId { get; set; }
        /// <summary>
        /// 收票
        /// </summary>
        public virtual CollectInvoice CollectInvoice { get; set; }
        /// <summary>
        /// 团号
        /// </summary>
        public string GroupCode { get; set; }
        /// <summary>
        /// 团名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 收票发票集合
        /// </summary>
        public ICollection<CollectInvoiceDetail> CollectInvoiceDetail { get; set; }
    }
}
